package com.stu.dao;

import com.stu.pojo.User;
import org.springframework.stereotype.Repository;

/**
 * @author zy
 * @date 2025/3/28
 */
@Repository
public class UserDaoImpl implements IUserDao{
    public UserDaoImpl() {
        System.out.println("UserDaoImpl无参构造执行了");
    }

    @Override
    public User addUser(User user) {
        System.out.println("UserDaoImpl添加user对象");
        return user;
    }
}
